package com.yamaikeji.system.domain.tts;

import com.yamaikeji.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 配置对象 tts_config
 * 
 * @author yamaikeji
 * @date 2025-04-08
 */
public class Config extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 地区 */
    private String region;

    /** key */
    private String key;

    /** 已使用文本数 */
    private Long yesUseTextNum;

    /** 未使用文本数 */
    private Long notUseTextNum;

    /** 删除标志（0存在 2删除） */
    private String delFlag;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setRegion(String region) 
    {
        this.region = region;
    }

    public String getRegion() 
    {
        return region;
    }

    public void setKey(String key) 
    {
        this.key = key;
    }

    public String getKey() 
    {
        return key;
    }

    public void setYesUseTextNum(Long yesUseTextNum) 
    {
        this.yesUseTextNum = yesUseTextNum;
    }

    public Long getYesUseTextNum() 
    {
        return yesUseTextNum;
    }

    public void setNotUseTextNum(Long notUseTextNum) 
    {
        this.notUseTextNum = notUseTextNum;
    }

    public Long getNotUseTextNum() 
    {
        return notUseTextNum;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("region", getRegion())
            .append("key", getKey())
            .append("yesUseTextNum", getYesUseTextNum())
            .append("notUseTextNum", getNotUseTextNum())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
